package cn.itcast.wanxinp2p.account.mapper;

import cn.itcast.wanxinp2p.account.entity.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AccountMapper {
    Account getByMobile(String mobile);

    Integer addAccount(Account account);

    Account checkAccount(@Param("mobile")String mobile,@Param("user") String user,@Param("password") String password);

}
